package com.qqtech.qquan.community.model;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@SuppressWarnings("serial")
public class CommunityBaseQuery extends CommunityBase {
	private String cityName;

	/**
	 * 过滤ids
	 */
	private List<Integer> filterIds;
	
	/**
	 * 包含ids
	 */
	private List<Integer> includeIds;
	
	/**
	 * 查询搜索
	 */
	private String search;

	private Integer rankType = 0; //0:荣耀榜 1:周榜 2:月榜 3:发帖达人
	
	private BigDecimal maxDistance;// 搜索社区的上限距离
	

	public String getCityName() {
		return cityName;
	}

	public List<Integer> getFilterIds() {
		return filterIds;
	}

	public List<Integer> getIncludeIds() {
		return includeIds;
	}
	public String getSearch() {
		return search;
	}
	
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public void setFilterIds(List<Integer> filterIds) {
		this.filterIds = filterIds;
	}
	public void setIncludeIds(List<Integer> includeIds) {
		this.includeIds = includeIds;
	}

	public void setSearch(String search) {
		this.search = search;
	}

	public Integer getRankType() {
		return rankType;
	}

	public void setRankType(Integer rankType) {
		this.rankType = rankType;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public BigDecimal getMaxDistance() {
		return maxDistance;
	}

	public void setMaxDistance(BigDecimal maxDistance) {
		this.maxDistance = maxDistance;
	}

}